﻿using Rail.Start.Viewer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rail.Base.Settings
{
    public class NetWorkSettingCommand : PureMVC.Patterns.SimpleCommand
    {
        public override void Execute(PureMVC.Interfaces.INotification notification)
        {
            NetWorkSettingForm nf = new NetWorkSettingForm();
            NetWorkSettingFormMediator nfm = new NetWorkSettingFormMediator(nf);
            Facade.RemoveMediator(nfm.MediatorName);
            Facade.RegisterMediator(nfm);
            nf.ShowDialog();
        }
    }
}
   